using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Nizm0.QOT
{
    public partial class frmEditResult : Form
    {
        public frmEditResult()
        {
            InitializeComponent();
        }

        private DialogResult _dial = DialogResult.Cancel;
        private string _strPrzed = string.Empty;
        private string _strPo = string.Empty;

        public string StringPrzed
        {
            get { return _strPrzed; }
        }
        public string StringPo
        {
            get { return _strPo; }
        }
        public DialogResult Dialog
        {
            get { return _dial; }
        }

        private void bt_OK_Click(object sender, EventArgs e)
        {
            this.Hide();
            _strPrzed = richTextBox_WstawPrzed.Text;
            _strPo = richTextBox_WstawPo.Text;
            _dial = System.Windows.Forms.DialogResult.OK;
        }
    }
}